-- GENERATED SPELL FOR [Defias Highwayman] --


function spell0_122(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(53,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_122', 615, 1)
end

function Sorts_122(pUnit, Event)
local choix_sorts_122 = math.random(0, 0)
if choix_sorts_122 == 0 then
pUnit:RegisterEvent('spell0_122', 1, 1)
end
end

function mob122_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_122', math.random(1500, 3000), 1)
end

function mob122_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob122_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob122_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(122, 1, 'mob122_Action')
RegisterUnitEvent(122, 2, 'mob122_Leave')
RegisterUnitEvent(122, 3, 'mob122_Kill')
RegisterUnitEvent(122, 4, 'mob122_Die')
